package com.cucn.mms.dao;

import com.cucn.mms.domain.PictureManage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 执念
* @description 针对表【mms_picture_info】的数据库操作Mapper
* @createDate 2023-04-26 23:42:12
* @Entity com.cucn.mms.domain.PictureManage
*/
public interface PictureManageMapper extends BaseMapper<PictureManage> {

    /**
     * selectPictureByType
     */

    /**
    *deletePictureByType
     */

    /**
     *updatePictureByType
     */

    List<PictureManage> selectPictureByType(@Param("keyword") String keyword,
                                            @Param("searchType") String searchType,
                                            @Param("offset") int offset,
                                            @Param("limit") int limit);

    int countPicture();

    boolean updatePictureRecord(PictureManage pictureManage);

    boolean deletePictureRecord(Integer pictureId);

    boolean addPicture(PictureManage pictureManage);
}




